using System;
using System.ComponentModel;

namespace QLTB.BusinessObjects
{
    /// <summary>
    /// Project: NNS System 
    /// Generated Class for Table : TBL_Thongtin.
    /// Date: 6/29/2010
    /// Author: Trần Hoàng Tâm
    /// </summary>
    public class TBL_Thongtin : Object
    {
        #region Init

        private double m_AppVersion;
        private double m_DbVersion;
        private int m_ID;


        public TBL_Thongtin()
        {
            //
            // TODO: Add constructor logic here
            //
        }

        public TBL_Thongtin(
            int ID,
            double DbVersion,
            double AppVersion)
        {
            //
            // TODO: Add constructor logic here
            //
            SetData
                (
                    ID,
                    DbVersion,
                    AppVersion
                );
        }


        public void SetData(
            int ID,
            double DbVersion,
            double AppVersion)
        {
            //
            // TODO: Add constructor logic here
            //
            m_ID = ID;
            m_DbVersion = DbVersion;
            m_AppVersion = AppVersion;
        }

        #endregion

        #region Property

        [DisplayName("ID")]
        [Category("Primary Key")]
        public int ID
        {
            get { return m_ID; }
            set { m_ID = value; }
        }

        [DisplayName("DbVersion")]
        [Category("Column")]
        public double DbVersion
        {
            get { return m_DbVersion; }
            set { m_DbVersion = value; }
        }

        [DisplayName("AppVersion")]
        [Category("Column")]
        public double AppVersion
        {
            get { return m_AppVersion; }
            set { m_AppVersion = value; }
        }

        #endregion
    }
}